home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 October / PCWorld_1999-10_cd1.bin / Software / Servis / X-setup / _SETUP.1 / XQ Desktop ToolTips 1.xpl < prev    next >
Text File  |  1999-07-13  |  2KB  |  70 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="5"
  4. "UIPATH"="Appearance\Desktop\Icons"
  5. "NAME"="Tool Tips"
  6. "VERSION"="1.41"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="My Computer"
  9. "TEXT 2"="Recycle Bin"
  10. "TEXT 3"="Network"
  11. "TEXT 4"="Internet Explorer"
  12. "TEXT 5"="Outlook 2000"
  13. "DESCRIPTION 1"="If you have ActiveDesktop installed (Internet Explorer 4 and above), Windows will displays a tip (aka Tool Tip) for these items on the desktop if you pass them with your mouse."
  14. "DESCRIPTION 2"="You can change these tips to anything you want."
  15. "AUTHOR"="Xteq Systems"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  18.  
  19.  
  20. sP="HKLM\Software\Classes\CLSID\"
  21. sMC="{20D04FE0-3AEA-1069-A2D8-08002B30309D}\"
  22. sNH="{208D2C60-3AEA-1069-A2D7-08002B30309D}\"
  23. sTC="{645FF040-5081-101B-9F08-00AA002F954E}\"
  24. sIE="{3DC7A020-0ACD-11CF-A9BB-00AA004AE837}\"
  25. sOT="{00020D75-0000-0000-C000-000000000046}\"
  26. sV="InfoTip"
  27. Sub Plugin_Initialize 
  28.  s=RegReadValue(sp&sMC&sV)
  29.  if IsEmpty(s)=false then
  30.   Call SetUIElement(1,s)
  31.  
  32.   s=RegReadValue(sp&sTC&sV)
  33.   Call SetUIElement(2,s)
  34.  
  35.   s=RegReadValue(sp&sNH&sV)
  36.   Call SetUIElement(3,s)
  37.  
  38.   s=RegReadValue(sp&sIE&sV)
  39.   Call SetUIElement(4,s)
  40.  
  41.   s=RegReadValue(sp&sOT&sV)
  42.   Call SetUIElement(5,s)
  43.  else
  44.   Disable
  45.  end if
  46. End Sub
  47.  
  48. Sub Plugin_CheckData(ElementIndex)
  49. End Sub
  50.  
  51. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  52.  s=GetUIElement(1)
  53.  Call RegWriteValue(sp&sMC&sV,s,1)
  54.  
  55.  s=GetUIElement(2)
  56.  Call RegWriteValue(sp&sTC&sV,s,1)
  57.  
  58.  s=GetUIElement(3)
  59.  Call RegWriteValue(sp&sNH&sV,s,1)
  60.  
  61.  s=GetUIElement(4)
  62.  Call RegWriteValue(sp&sIE&sV,s,1)
  63.  
  64.  s=GetUIElement(5)
  65.  Call RegWriteValue(sp&sOT&sV,s,1)
  66. End Sub
  67.  
  68. Sub Plugin_Terminate 
  69. End Sub
  70.